// components/dicpicker/index.js
const dicListBehavior = require('../behavior/dicList-behavior')

Component({
  behaviors: [dicListBehavior],
  externalClasses: ['picker-class', 'picker-view-class'],
  properties: {
    dicVal: {
      type: String,
      value: null,
      observer(newVal, oldVal) {
        console.log('dicpicker dicVal observer ======', newVal, oldVal)
        this._freshStoreDic()
      }
    },
    defText: {
      type: String,
      value: '请选择'
    },
    pickerText: {
      type: String,
      value: ''
    },
    isPicker: {
      type: Boolean,
      vaue: true
    }
  },
  methods: {
  }
})
